package com.cardpay.bill;

import com.cardpay.supplier.Supplier;

import java.io.Serializable;

/**
 * Created by asusa on 2017/1/23.
 */
public class Bill implements Serializable {
    private String id;//账单编号
    private String name;//
    private int num;//数量
    private String unit;//单位
    private double money;//金额
    private String isPayment;//支付情况
    private String supplierId;//外键，对应供应商的id
    private String descriptions;
    private String createTime;//账单创建时间

    Supplier supplier = new Supplier();

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String getIsPayment() {
        return isPayment;
    }

    public void setIsPayment(String isPayment) {
        this.isPayment = isPayment;
    }

    public String getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(String supplierId) {
        this.supplierId = supplierId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getDescriptions() {
        return descriptions;
    }

    public void setDescriptions(String descriprions) {
        this.descriptions = descriptions;
    }

    public Supplier getSupplier() {
        return supplier;
    }

    public void setSupplier(Supplier supplier) {
        this.supplier = supplier;
    }
}
